package com.xuecheng.orders.domain.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.xuecheng.orders.domain.model.entity.XcOrders;
import com.xuecheng.orders.domain.model.vo.req.OrderCreateCmd;
import com.xuecheng.orders.domain.model.vo.resp.PayRecordResp;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author itcast
 * @since 2024-09-11
 */
public interface XcOrdersService extends IService<XcOrders> {

    PayRecordResp createOrder(Long userId, OrderCreateCmd orderCreateCmd);

    String requestPay(String payNo);

    void receivenotify(Map<String, String> params);
}
